<!-- 角色管理 -->
<div class="bg-light lter b-b wrapper-md">
    <h1 class="m-n font-thin h3" translate="role.moduleName"></h1>
</div>
<div class="wrapper-md" ng-controller="RoleCtrl">
    <!--panel-*:可选, 面板颜色-->
    <div class="panel panel-default">
        <!--面板标题-->
        <div class="panel-heading font-bold" translate="role.panelName"></div>
        <!--操作栏-->
        <div class="panel-neck row">
            <form class="form-inline col-md-12" role="form">
                <div class="form-group">
                    <input name="name" class="form-control" name="roleName" id="roleNameID"
                           ng-model="vm.query.name" maxlength="32" placeholder="{{'role.name' | translate}}"/>
                </div>
                <div class="form-group pull-right">
                    <button class="btn btn-sm btn-primary" ng-click="vm.search()">
                        <i class="fa fa-search"></i> {{'common.search'|translate}}
                    </button>
                    <button iss-permission="B_ROLE_ADD" class="btn btn-sm btn-primary" id="addRoleBtn"
                            ng-click="vm.addRole()">
                        <i class="fa fa-plus"></i>
                        <span translate="common.add"></span>
                    </button>
                    <button class="btn btn-sm btn-default" ng-click="vm.reset()">
                        <i class="fa fa-refresh"></i> {{'common.reset' | translate}}
                    </button>
                </div>
            </form>
        </div>
        <div class="b-b"></div>
        <div class="panel-body">
            <table iss-flexigrid="vm.options" flexigrid-control="vm.roleFlexigridObj"></table>
        </div>
    </div>
</div>
